package com.lynx.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.servlet.ModelAndView;

/**
 * @author chris.liu
 * @version 6/5/14 11:17 AM
 */
@Controller("monitorController")
@RequestMapping(value = "/monitor", produces = "text/plain;charset=UTF-8")
public class MonitorController {

    @RequestMapping(value = "/all", method = RequestMethod.GET)
    public ModelAndView monitor() {
        ModelAndView modelAndView = new ModelAndView();
        modelAndView.setViewName("monitor");
        return modelAndView;
    }
}
